home *** CD-ROM | disk | FTP | other *** search
- class clock.ClockDisplay extends MovieClip
- {
- var dat;
- var mTxt;
- function ClockDisplay()
- {
- super();
- this.dat = new Array();
- this.dat = [0,0,0];
- }
- function setDat(pDat)
- {
- this.dat = pDat;
- return undefined;
- }
- function timeOtpt()
- {
- var _loc3_ = this.dat[1] <= 9 ? "0" + String(this.dat[1]) : this.dat[1];
- var _loc2_ = this.dat[2] <= 9 ? "0" + String(this.dat[2]) : this.dat[2];
- this.mTxt.text = "TIME: " + _loc3_ + ":" + _loc2_;
- return undefined;
- }
- function refreshTime(pDat)
- {
- this.setDat(pDat);
- this.timeOtpt();
- }
- }
-